package com.misty.dao.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.misty.dao.domain.Message;
import com.misty.dao.dto.MessageDto;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cthulhu
 * @since 2022-11-21
 */
public interface MessageMapper extends BaseMapper<Message> {

    Page<MessageDto> selectPageWithUser(Page<MessageDto> page, @Param(Constants.WRAPPER) Wrapper<Message> queryWrapper);



}
